strconv.floatInfo.mantbits (field)
34 uses
strconv (current package)
atof.go#L378: d.Shift(int(1 + flt.mantbits))
atof.go#L382: if mant == 2<<flt.mantbits {
atof.go#L391: if mant&(1<<flt.mantbits) == 0 {
atof.go#L404: bits := mant & (uint64(1)<<flt.mantbits - 1)
atof.go#L405: bits |= uint64((exp-flt.bias)&(1<<flt.expbits-1)) << flt.mantbits
atof.go#L407: bits |= 1 << flt.mantbits << flt.expbits
atof.go#L430: if mantissa>>float64info.mantbits != 0 {
atof.go#L464: if mantissa>>float32info.mantbits != 0 {
atof.go#L502: exp += int(flt.mantbits) // mantissa now implicitly divided by 2^mantbits.
atof.go#L510: for mantissa != 0 && mantissa>>(flt.mantbits+2) == 0 {
atof.go#L517: for mantissa>>(1+flt.mantbits+2) != 0 {
atof.go#L537: if mantissa == 1<<(1+flt.mantbits) {
atof.go#L543: if mantissa>>flt.mantbits == 0 { // Denormal or zero.
atof.go#L548: mantissa = 1 << flt.mantbits
atof.go#L553: bits := mantissa & (1<<flt.mantbits - 1)
atof.go#L554: bits |= uint64((exp-flt.bias)&(1<<flt.expbits-1)) << flt.mantbits
atof.go#L556: bits |= 1 << flt.mantbits << flt.expbits
ftoa.go#L17: mantbits uint
ftoa.go#L71: neg := bits>>(flt.expbits+flt.mantbits) != 0
ftoa.go#L72: exp := int(bits>>flt.mantbits) & (1<<flt.expbits - 1)
ftoa.go#L73: mant := bits & (uint64(1)<<flt.mantbits - 1)
ftoa.go#L95: mant |= uint64(1) << flt.mantbits
ftoa.go#L119: ryuFtoaShortest(&digs, mant, exp-int(flt.mantbits), flt)
ftoa.go#L148: ryuFtoaFixed32(&digs, uint32(mant), exp-int(flt.mantbits), digits)
ftoa.go#L152: ryuFtoaFixed64(&digs, mant, exp-int(flt.mantbits), digits)
ftoa.go#L166: d.Shift(exp - int(flt.mantbits))
ftoa.go#L258: if exp > minexp && 332*(d.dp-d.nd) >= 100*(exp-int(flt.mantbits)) {
ftoa.go#L268: upper.Shift(exp - int(flt.mantbits) - 1)
ftoa.go#L278: if mant > 1<<flt.mantbits || exp == minexp {
ftoa.go#L287: lower.Shift(explo - int(flt.mantbits) - 1)
ftoa.go#L480: exp -= int(flt.mantbits)
ftoa.go#L496: mant <<= 60 - flt.mantbits
ftoaryu.go#L353: if mant != 1<<flt.mantbits || exp == flt.bias+1-int(flt.mantbits) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |